import Layout from '@/layout';
export default {
	path: '/goods',
	component: Layout,
	redirect: '/goods/goodsInfo',
	name: 'goods',
	meta: { title: '商品管理', icon: 'Frame-6', routerType: 'ERP' },
	children: [
		{
			path: 'goodsInfo',
			name: 'goodsInfo',
			component: () => import('@/views/goods/goodsInfo'),
			meta: { title: '商品档案', icon: '', anniu: 'goodsInfo_list', actived: true }
		},
		{
			path: 'goodsCategory',
			name: 'goodsCategory',
			component: () => import('@/views/goods/goodsCategory'),
			meta: { title: '商品分类', icon: '', anniu: 'goodsCategory_list' }
		},
		{
			path: 'goodsAdd',
			name: 'GoodsAdd',
			hidden: true,
			component: () => import('@/views/goods/goodsAdd'),
			meta: { title: '新增商品', icon: '', anniu: 'goods_add', actived: true }
		},
		{
			path: 'goodsEdit',
			name: 'goodsEdit',
			hidden: true,
			component: () => import('@/views/goods/goodsAdd'),
			meta: { title: '修改商品', icon: '', anniu: 'goods_edit' }
		},
		{
			path: 'goodsDetail',
			name: 'goodsDetail',
			hidden: true,
			component: () => import('@/views/goods/goodsAdd'),
			meta: { title: '商品详情', icon: '', anniu: 'goods_detail' }
		},
		{
			path: 'goodsUnit',
			name: 'goodsUnit',
			component: () => import('@/views/goods/goodsUnit'),
			meta: { title: '商品单位', icon: '', anniu: 'goodsUnit_list' }
		},
		{
			path: 'goodsBrand',
			name: 'goodsBrand',
			component: () => import('@/views/goods/goodsBrand'),
			meta: { title: '品牌管理', icon: '', anniu: 'goodsBrand_list' }
		}
	]
};
